<template>
<!--pages/sign_rule/sign_rule.wxml-->
<view style="padding: 30rpx">
  <text class="nr" style="line-height: 36rpx">{{rule}}</text>
</view>
</template>

<script>
import { getSignRule } from "@/api/user.js";

export default {
  data() {
    return {
      rule: ""
    };
  },

  components: {},
  props: {},

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.getSignRuleFun();
  },

  
  methods: {
    getSignRuleFun() {
      getSignRule().then(res => {
        if (res.code == 1) {
          this.rule = res.data
        }
      });
    }

  }
};
</script>
<style>
/* pages/sign_rule/sign_rule.wxss */
</style>